# import sys
# print(sys.executable)
from selenium import webdriver
from selenium.webdriver.common.by import By
import time
driver = webdriver.Edge()
driver.get("https://www.baidu.com")
element = driver.find_element(By.ID,"kw")
element.send_keys("西安天气")
time.sleep(2)
element2 = driver.find_element(By.ID,"su")
element2.click()
time.sleep(5)
driver.quit()